package com.myway.utils.eamil;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import java.util.Properties;

/**
 * Created by zhu on 2017/8/25.
 */
@Configuration
public class EmailConfig {

    @Value("${email_smtphost}")
    public String smtpHost;
    @Value("${email_smtpport}")
    public String smtpPort;
    @Value("${email_fromemail}")
    public String fromEmail;
    @Value("${email_username}")
    public String userName;
    @Value("${email_password}")
    public String password;
    @Value("${email_type}")
    public String type;
    @Value("${email_bccitd}")
    public String bccItd;
    @Value("${email_bccemail}")
    public String bccEmail;


    public String getSmtpHost() {
        return smtpHost;
    }

    public void setSmtpHost(String smtpHost) {
        this.smtpHost = smtpHost;
    }

    public String getSmtpPort() {
        return smtpPort;
    }

    public void setSmtpPort(String smtpPort) {
        this.smtpPort = smtpPort;
    }

    public String getFromEmail() {
        return fromEmail;
    }

    public void setFromEmail(String fromEmail) {
        this.fromEmail = fromEmail;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBccItd() {
        return bccItd;
    }

    public void setBccItd(String bccItd) {
        this.bccItd = bccItd;
    }

    public String getBccEmail() {
        return bccEmail;
    }

    public void setBccEmail(String bccEmail) {
        this.bccEmail = bccEmail;
    }
}
